package com.liush.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liush.model.controller.SysLoginLog;
import com.liush.model.vo.SysLoginLogQueryVo;
import com.liush.system.mapper.SysLoginLogMapper;
import com.liush.system.service.SysLoginLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 系统访问记录 服务实现类
 * </p>
 *
 * @author liush
 * @since 2023-02-25
 */
@Service
@Transactional
public class SysLoginLogServiceImpl extends ServiceImpl<SysLoginLogMapper, SysLoginLog> implements SysLoginLogService {

    @Autowired
    private SysLoginLogMapper sysLoginLogMapper;

    @Override
    public Page findPage(Page<SysLoginLog> page, SysLoginLogQueryVo sysLoginLogQueryVo) {
        return sysLoginLogMapper.findPage(page, sysLoginLogQueryVo);
    }
}
